package com.ygqh.baby.model;

import java.io.Serializable;
import java.math.BigDecimal;

import com.ygqh.baby.ao.PromotionType;

public class YgPromotionModel implements Serializable{

	/** 
	*/ 
	private static final long serialVersionUID = 1L;

	private Long id;

	private Long supplierId;

	private String promotionTitle;

	private PromotionType promotionType;

	private BigDecimal limitPrice;

	private BigDecimal discountPrice;

	private Boolean useCoupon;

	public Boolean getUseCoupon() {
		return useCoupon;
	}

	public void setUseCoupon(Boolean useCoupon) {
		this.useCoupon = useCoupon;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}

	public String getPromotionTitle() {
		return promotionTitle;
	}

	public void setPromotionTitle(String promotionTitle) {
		this.promotionTitle = promotionTitle == null ? null : promotionTitle.trim();
	}

	public PromotionType getPromotionType() {
		return promotionType;
	}

	public void setPromotionType(PromotionType promotionType) {
		this.promotionType = promotionType == null ? null : promotionType;
	}

	public BigDecimal getLimitPrice() {
		return limitPrice;
	}

	public void setLimitPrice(BigDecimal limitPrice) {
		this.limitPrice = limitPrice;
	}

	public BigDecimal getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(BigDecimal discountPrice) {
		this.discountPrice = discountPrice;
	}

	@Override
	public String toString() {
		return "YgPromotionModel [id=" + id + ", supplierId=" + supplierId + ", promotionTitle=" + promotionTitle + ", promotionType=" + promotionType
				+ ", limitPrice=" + limitPrice + ", discountPrice=" + discountPrice + ", useCoupon=" + useCoupon + "]";
	}

}